import request from '@/utils/request';

// PC端获取事故单完整详情
export async function getPkgAccidentDetail(params) {
  return request('/luggage/pkg/getPkgAccidentDetail', {
    method: 'get',
    params,
  })
}

// 新增沟通记录
export async function saveContactInfo(data) {
  return request('/luggage/contact/saveContactInfo', {
    method: 'post',
    data,
  })
}

// 修改沟通记录
export async function updateContactInfo(data) {
  return request('/luggage/contact/updateContactInfo', {
    method: 'post',
    data,
  })
}

// 批量修改图片
export async function batchUpdateImg(data) {
  return request('/luggage/lost/img/batchUpdateImg', {
    method: 'post',
    data,
  })
}
